-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
preload: improve solution message when there is no space left on device #9316
Conversation
during preload extraction.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: priyawadhwa The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/ok-to-test |
kvm2 Driver |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect this will still print tens of pages of error that will fill up the terminal, if the disk space check is not done before the "extract" part.
do u mind pasting out an example to see how the full output looks like ?
(to reproduce you can use a default ec2 VM that only has 8 GB disk and creating 4 mnikube clusters will fill up the disk
kvm2 Driver Times for Minikube (PR 9316): 62.8s 61.1s 59.6s Averages Time Per Log
docker Driver Times for Minikube (PR 9316): 29.0s 27.8s 35.5s Averages Time Per Log
|
Hey @medyagh the output looks like this:
the error itself is never printed, which is why you don't see the pages of output. instead, we just print the solution. |
kvm2 Driver Times for Minikube (PR 9316): 58.9s 61.9s 60.1s Averages Time Per Log
docker Driver Times for Minikube (PR 9316): 27.9s 29.1s 28.1s Averages Time Per Log
|
0a31bb6
to
db23825
Compare
Travis tests have failedHey @priyawadhwa, 1st Buildmake test
TravisBuddy Request Identifier: 83aac2e0-0352-11eb-8abf-036a378110f7 |
Travis tests have failedHey @priyawadhwa, 1st Buildmake test
TravisBuddy Request Identifier: cb805940-0352-11eb-8abf-036a378110f7 |
kvm2 Driver Times for Minikube (PR 9316): 57.6s 58.3s 62.6s Averages Time Per Log
docker Driver Times for Minikube (PR 9316): 29.9s 29.5s 31.0s Averages Time Per Log
|
kvm2 Driver Times for Minikube (PR 9316): 60.6s 57.2s 58.0s Averages Time Per Log
docker Driver Times for Minikube (PR 9316): 29.2s 28.5s 28.7s Averages Time Per Log
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
I was initially debating between warning and exiting here, but decided to exit because the "cache and load" step would probably fail with the same error if preload extraction fails.
fixes #9313